package com.ksd.system.domain;

import com.ksd.common.annotation.Excel;
import com.ksd.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 运营商列表对象 sys_version
 * 
 * @author y.wu
 * @date 2025-04-24
 */
public class SysVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 运营商标识 */
    @Excel(name = "运营商标识")
    private String operatorKey;

    /** 运营商名称 */
    @Excel(name = "运营商名称")
    private String operatorName;

    /** 运营商版本 */
    @Excel(name = "运营商版本")
    private String version;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 机顶盒升级包地址 */
    @Excel(name = "机顶盒升级包地址")
    private String url;

    /** 机顶盒文件名称 */
    @Excel(name = "机顶盒文件名称")
    private String apkName;

    /** 内容数据是否已同步 */
    @Excel(name = "内容数据是否已同步")
    private String dataFlag;

    /** IP */
    @Excel(name = "IP")
    private String ip;

    /** 端口号 */
    @Excel(name = "端口号")
    private String port;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOperatorKey(String operatorKey) 
    {
        this.operatorKey = operatorKey;
    }

    public String getOperatorKey() 
    {
        return operatorKey;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setApkName(String apkName) 
    {
        this.apkName = apkName;
    }

    public String getApkName() 
    {
        return apkName;
    }
    public void setDataFlag(String dataFlag) 
    {
        this.dataFlag = dataFlag;
    }

    public String getDataFlag() 
    {
        return dataFlag;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operatorKey", getOperatorKey())
            .append("operatorName", getOperatorName())
            .append("createTime", getCreateTime())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("url", getUrl())
            .append("apkName", getApkName())
            .append("dataFlag", getDataFlag())
            .append("ip", getIp())
            .append("port", getPort())
            .toString();
    }
}
